home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / personal / deerexpt.zip / INSTALLA.BAT < prev    next >
DOS Batch File  |  1994-06-01  |  2KB  |  78 lines

  1. @ECHO OFF
  2. cls
  3. echo.
  4. echo If you are installing over a previous version its a good idea to back
  5. echo up the log files. Press 'Ctrl Break' to stop installation
  6. echo and backup files. (See Library file 'info' on how to backup files).
  7. echo.
  8. echo You MUST specify the drive and/or path to install to e.g. 'installa a:' 
  9. echo or 'installa c:\hunt'.  Disk must have at least 720K of room.
  10. echo.
  11. echo This install puts the program onto a floppy or in a drive and directory
  12. echo specified by you.  You must run the install from the subdirectory where
  13. echo you have the original files.  The program asks you to copy certain
  14. echo files in case you have an existing copy of the program; if you are 
  15. echo copying over a previous version and wish to save log information then
  16. echo answer 'no' to the appropriate log file to save the old file which the
  17. echo new program can use.
  18. echo. 
  19. echo Enter 'Ctrl Break' or turn the computer off and then on to stop install
  20. echo now if desired or press any key to continue. Good Luck and Have a Great Day!
  21. echo.
  22. pause
  23. xcopy hunt.exe %1\
  24. if errorlevel 5 goto disker
  25. if errorlevel 4 goto room
  26. if errorlevel 1 goto wrongdir
  27. xcopy *.dba %1\
  28. xcopy *.dat %1\
  29. xcopy *.cfg %1\
  30. xcopy *.hlp %1\
  31. xcopy *.pif %1\
  32. xcopy *.txt %1\
  33. xcopy prolog.err %1\
  34. xcopy *.bat %1\
  35. xcopy vendor.doc %1\
  36. xcopy *. %1\ /p
  37. xcopy *.diz %1\
  38. goto exit
  39. :wrongdir
  40. echo .
  41. echo You did not run install from source directory; change to the proper
  42. echo drive and/or directory and rerun install
  43. echo .
  44. pause
  45. goto exit2
  46. :room
  47. echo .
  48. echo There is not enough room on your destination disk, you do not
  49. echo have enough memory, or you specified an incorrect drive.
  50. echo .
  51. pause
  52. goto exit2
  53. :disker
  54. echo.
  55. echo Disk write error occured
  56. echo.
  57. pause
  58. goto exit2
  59. :exit
  60. cls
  61. echo.
  62. echo  You must change to the appropriate drive and/or directory and type
  63. echo  'hunt' and enter to run the program.   For example from DOS:
  64. echo    To change to the a: drive type 'a:' and Enter, or
  65. echo    To change to the hunt directory on drive c - type 'cd c:\hunt'
  66. echo    and enter; then type 'hunt' and press Enter.
  67. echo.
  68. echo  YOU MUST GO INTO SECTION 1 FIRST TO SET THE CORRECT PATH.
  69. echo.
  70. echo  From Windows file manager click on the appropriate directory and 
  71. echo    click on 'hunt.exe' to run the program.  The info file in the
  72. echo    Library tells you how to create an icon to run the program if
  73. echo    desired.
  74. echo.
  75. pause
  76. echo.
  77. :exit2
  78.